/* pages/home/index.wxss */
.home_page {
    width: 100%;
    background: rgba(247, 248, 250, 1);
    min-height: 100vh;
    padding-bottom: 96rpx;
    padding-top: 88rpx;
    box-sizing: border-box;
}

.status_bar {
    position: fixed;
    background: #fff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

// .status_bar:after {
//     display: block;
//     content: "";
//     position: absolute;
//     left: 0;
//     right: 0;
//     top: 0;
//     bottom: 0;
//     background: #f00;
// }

.nav_bar {
    position: fixed;
    background: #fff;
    height: 88rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;

    .title {
        font-size: 34rpx;
        font-weight: 500;
        letter-spacing: 0px;
        line-height: 34rpx;
        color: #515151;
    }

    .city {
        position: absolute;
        left: 32rpx;
        top: 50%;
        transform: translateY(-50%);

        .name {
            font-size: 32rpx;
            font-weight: 400;
            line-height: 48rpx;
            color: rgba(51, 51, 51, 1);
            margin-right: 10rpx;
        }
    }
}

.banner {
    padding: 32rpx;

    .swiper_box {
        height: 256rpx;
        overflow: hidden;

        .servie_btn {
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            bottom: 0;
            z-index: 2;
            opacity: 0;
        }
    }

    .img {
        width: 100%;
        height: 256rpx;
    }
}

.search_box {
    padding: 0 32rpx 0rpx 32rpx;
    margin-bottom: 48rpx;

    .inner {
        border-radius: 230rpx;
        background: rgba(255, 255, 255, 1);
        display: flex;
        align-items: center;
        padding: 8rpx 32rpx;
        height: 72rpx;
        box-sizing: border-box;

        .img {
            display: flex;
            align-items: center;
            width: 40rpx;
            height: 40rpx;
            margin-right: 8rpx;
        }

        .txt {
            font-size: 28rpx;
            font-weight: 400;
            line-height: 44rpx;
            color: rgba(134, 144, 156, 1);
        }
    }
}

.head_title {
    padding: 0 32rpx;

    .txt {
        position: relative;
        font-size: 30rpx;
        font-weight: 500;
        line-height: 42rpx;
        color: rgba(51, 51, 51, 1);
        padding-left: 21rpx;
    }

    .txt:after {
        position: absolute;
        display: block;
        content: "";
        width: 8rpx;
        height: 32rpx;
        background: rgba(48, 123, 255, 1);
        left: 0;
        top: 50%;
        transform: translateY(-50%);

    }
}

.city_list {
    display: flex;
    flex-wrap: wrap;
    padding: 20rpx 32rpx;

    .cell {
        width: 144rpx;
        height: 48rpx;
        border-radius: 8rpx;
        background: rgba(214, 229, 255, 1);

        font-size: 24rpx;
        font-weight: 400;
        line-height: 48rpx;
        color: rgba(48, 123, 255, 1);

        text-align: center;
        margin: 0 16rpx 16rpx 0;
    }

}

.news_list {
    // height: 384rpx;
    border-radius: 16rpx;
    background: rgba(255, 255, 255, 1);
    margin: 20rpx 32rpx;
    padding: 20rpx;

    .news {
        position: relative;
        font-size: 28rpx;
        font-weight: 400;
        color: rgba(51, 51, 51, 1);
        padding: 12rpx 0;
        margin-bottom: 12rpx;
    }

    .news:after {
        position: absolute;
        display: block;
        content: "";
        height: 1rpx;
        background: #E5E5E5;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .news:last-child {
        margin-bottom: 0;
    }

    .news:last-child:after {
        display: none;
    }
}

.fixed_box {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    // height: 96rpx;
    background: #FFFFFF;
    //background: #f00;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12rpx 0;
    box-sizing: border-box;

    .btn {
        width: 218rpx;
        height: 72rpx;
        border-radius: 430rpx;
        background: #307BFF;
        font-size: 32rpx;
        font-weight: 500;
        line-height: 72rpx;
        color: rgba(255, 255, 255, 1);
        padding: 0;
        margin: 0 8rpx;
    }
}

.service_box {
    position: fixed;
    width: 128rpx;
    bottom: 152rpx;
    right: 32rpx;
    z-index: 3;

    .kf {
        width: 96rpx;
        height: 96rpx;
        background: #fff;
        border-radius: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;

        .img {
            width: 52rpx;
            height: 52rpx;
        }
    }

    .txt_box {
        width: 128rpx;
        height: 42rpx;
        border-radius: 338rpx;
        background: #E6EFFF;

        font-size: 22rpx;
        font-weight: 500;
        line-height: 42rpx;
        color: rgba(48, 123, 255, 1);
        text-align: center;
        margin-top: -22rpx;

    }

    .servie_btn {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 2;
        opacity: 0;
    }


}